package edu.hrbu.spring.service;

import edu.hrbu.spring.pojo.Dept;
import edu.hrbu.spring.pojo.User;

import java.util.List;

public interface DeptService {

    List<Dept> getAll();

    Dept getById(Integer id);

    boolean removeById(Integer id);

    boolean save(Dept dept);

    List<User> getOwnUserNameByDeptId(Integer id);

    List<User> getUserListByDeptId(Integer deptId);

}
